<div class="report-widget" id="cache-sizes">
    <h3 style="margin-bottom:25px;"><?= e(trans($this->property('title'))) ?></h3>

<?php if (!isset($error)): ?>
    <form>
        <div id="Form-outsideTabs" class="form-tabless-fields ">
            <div class="form-group  radio-field span-left   " data-field-name="type" id="Form-field-type-group">
                <label for="Form-field-type">
                    初始类型
                </label>
                <!-- Radio List -->
                <div class="radio custom-radio">
                    <input id="1a7e203aa66b95ae8b0b0b7f9e51a6ba" name="type" value="user" type="radio">
                    <label for="1a7e203aa66b95ae8b0b0b7f9e51a6ba">
                        用户模块
                    </label>
                </div>
                <div class="radio custom-radio">
                    <input id="1a7e203aa66b95ae8b0b0b7f9e51a6bb" name="type" value="box" type="radio">
                    <label for="1a7e203aa66b95ae8b0b0b7f9e51a6bb">
                        盲盒模块
                    </label>
                </div>
                <div class="radio custom-radio">
                    <input id="fa752cf1abf4815a5ab0a70985a83cc8" name="type" value="other" type="radio">
                    <label for="fa752cf1abf4815a5ab0a70985a83cc8">
                        按表类型
                    </label>
                </div>
            </div>
            <div class="form-group checkboxlist-field span-right"
                 data-field-name="table"
                 data-trigger="[name=&quot;type&quot;]"
                 data-trigger-action="show"
                 data-trigger-condition="value[other]"
                 data-trigger-closest-parent="form, div[data-control=&quot;formwidget&quot;]"
                 id="Form-field-table-group">
                <label for="Form-field-table">
                    选择表类型
                </label>
                <!-- Checkbox List -->
                <div class="field-checkboxlist ">
                    <div class="field-checkboxlist-inner">
                        <div class="checkbox custom-checkbox">
                            <input type="checkbox" id="checkbox_Form-field-table_1" name="table[]" value="detailed">
                            <label for="checkbox_Form-field-table_1">
                                流水表
                            </label>
                        </div>
                        <div class="checkbox custom-checkbox">
                            <input type="checkbox" id="checkbox_Form-field-table_2" name="table[]" value="record">
                            <label for="checkbox_Form-field-table_2">
                                记录表
                            </label>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group  password-field span-full" data-field-name="initpwd" id="Form-field-initpwd-group">
                <label for="Form-field-initpwd">
                    密码
                </label>
                <!-- Password -->
                <input type="password" name="initpwd" id="Form-field-initpwd" value="" placeholder="" class="form-control" autocomplete="off" maxlength="255">
            </div>
        </div>

        <button
            type="submit"
            data-request="<?= $this->getEventHandler('onDataInit') ?>"
            data-request-flash
            data-request-confirm="您确定要这样操作么？"
            class="btn btn-default">
            初始化数据
        </button>
    </form>
<?php else: ?>
    <p class="flash-message static warning"><?= e($error) ?></p>
<?php endif ?>
</div>
